import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import router from './router'
import  pinia  from './pinia'
import { EnvConfig } from './utils/env';
//注册图标
import 'virtual:svg-icons-register'
import 'virtual:windi.css'



const app = createApp(App)
// 根据环境配置应用
// if (EnvConfig.isDevelopment()) {
//   // 开发环境特殊配置
//   console.log('Running in development mode');
// } else if (EnvConfig.isProduction()) {
//   // 生产环境特殊配置
//   console.log('Running in production mode');
// }
app.use(router)
app.use(pinia)
app.mount('#app')
